home *** CD-ROM | disk | FTP | other *** search
- on buttonselect
- global button, buttoncount
- if the keyCode = 124 then
- set button to button + 1
- end if
- if the keyCode = 123 then
- set button to button - 1
- end if
- if button = (buttoncount + 1) then
- set button to 1
- end if
- if button = 0 then
- set button to buttoncount
- end if
- if button = -1 then
- set button to buttoncount
- end if
- if button = 1 then
- button1()
- end if
- end
-